<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="/struts-tags" prefix="s"%>

<%@ page import="pojo.Cart"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML >
<html>
	<head>
		<base href="<%=basePath%>">
		<title>云芯商城</title>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<meta name="viewport"
			content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
		<link rel="stylesheet" href="<%=request.getContextPath()%>/admin/css/pintuer.css">
		<script src="<%=request.getContextPath()%>/admin/js/jquery.js"></script>
		<script src="<%=request.getContextPath()%>/admin/js/pintuer.js"></script>
		<STYLE type="text/css">
			#product_hote ul {
				list-style-type: none;
				text-align: center;
			}
		</STYLE>
	</head>
	<body style="font-size: 12px;background-color:#E8E8E8;">
		<!--轮播-->
		<div class="banner" data-pointer="1" data-interval="5" data-item="1"
			data-small="1" data-middle="1" data-big="15" >
			<ul class="carousel">
				<li class="item">
					<a href="${lunbo.link1}"><img src="<%=request.getContextPath()%>/${lunbo.img1}" alt="" style="width: 110%; height: 200px;"></a>
				</li>
				<li class="item">
					<a href="${lunbo.link2}"><img src="<%=request.getContextPath()%>/${lunbo.img2}" alt="" style="width: 110%; height: 200px;"></a>
				</li>
				<li class="item">
					<a href="${lunbo.link3}"><img src="<%=request.getContextPath()%>/${lunbo.img3}" alt="" style="width: 110%; height: 200px;"></a>
				</li>
			</ul>
		</div>
		<!-- 菜单 -->
		<div style="height:70px;width:100%;background:#ECF0F3;">
		     <a href="https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxb77e811241050c4e&redirect_uri=http%3a%2f%2ftaoxie.xmyunxin.com%2fw%2fbanner!toshouye.action&response_type=code&scope=snsapi_base&state=STATE#wechat_redirect">
		     <div style="margin-top:8px;width:33%;float:left;border-bottom:1px solid #E47606;">  
		       <div style="text-align:center;"><span style="color:#E47606;" class="icon-home text-large"></span></div>
		       <div id="tuwen0" style="font-size:15px;line-height:25px;text-align:center;color:#E47606;">店铺首页</div>
		     </div></a>
		     <a href="product!findallp.action?team.sellerid=${team.sellerid }">
		     <div style="margin-top:8px;width:34%;float:left;">
		          <div style="text-align:center;"><span style="color:#aaa;" class="icon-trello text-large"></span></div>
		      	  <div id="tuwen0" style="font-size:15px;line-height:25px;text-align:center;color:;">全部宝贝</div>
		     </div></a>
		      <a href="product!findNew.action?team.sellerid=${team.sellerid }">
		      <div style="margin-top:8px;width:33%;float:left;">
		      	<div style="text-align:center;"><span style="color:#aaa;" class="icon-instagram text-large"></span></div>
		       	<div id="tuwen0" style="font-size:15px;line-height:25px;text-align:center;color:;">上新商品</div>
		     </div></a>
		 </div> 
		<!-- 横幅 -->
		<div style="margin-top:0px; text-align: center;">
			<div style="">
			<s:iterator value="banners" id="ba">
				<s:if test="#ba.orderid%2!=0">
					<div style="width:60%;float:left;height:px;background:">
					<a href="<s:property value="link"/>"><img style="height:120px;width:100%;" onclick="location.href='<s:property value="link"/>'" src="<%=request.getContextPath() %>/<s:property value="img"/>">
					</a>
					</div>
				</s:if>
				<s:else>
					<div style="width:40%;float:left;height:px;background:">
					<a href="<s:property value="link"/>"><img style="height:120px;width:100%;" src="<%=request.getContextPath() %>/<s:property value="img"/>">
					</a>
					</div>
				</s:else>
			</s:iterator>
			</div>
		</div>
		<div style="height:50px;width:100%;clear:both;"></div>
		<s:include value="/w/tmpfoot.jsp"></s:include>
	</body>
</html>
